<template>
    <div class="loading-container">
        <div class="loading">
            <img src="../assets/loading.gif" alt="">
            <p>加载中……</p>
        </div>
    </div>
</template>
<script>
export default {
    name:'loading',
  data() {
    return {      
    };
  },
}
</script>
<style>
    .loading-container{
        position: absolute;
        z-index:121;
        top: 40%;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
.loading{
    margin: 0 auto;
    padding: 30px 20px;
    width: 120px;
    height: 120px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: rgba(55, 55, 55, .8);
}
.loading img{
    width: 30px;
    height: 30px;
  overflow: auto;
  margin: auto;
}
.loading p{
    margin-top: 10px;
    color: #ffffff;
    font-size: 14px;
}
</style>



